// Datasets to be used with the OpenError library for displaying multiple realizations of data
// GEOJSON object containing a collection of data points with unknown error

  	var ptsMSU = {"type":"MultiPoint",
				"coordinates":[ [42.731715,-84.48590], [42.730927,-84.48348], [42.730691,-84.48277], 
								[42.730352,-84.48175], [42.731455,-84.48167], [42.732440,-84.48387], 
								[42.732173,-84.48440] ]};


	var ptsOne = {"type":"MultiPoint",
				"coordinates":[ [0,0] ]};
								
  	var ptsGrid = {"type":"MultiPoint",
				"coordinates":[ [0,0],[0,5],[0,10],
								[5,0],[5,5],[5,10],
								[10,0],[10,5],[10,10] ]};
								
	// A Precalculated array of distances from each point to all the others
		// Note how all the diagonal values are 0
    var dist = Array(
        Array(0, 5, 10, 5, 7.07, 11.18, 10, 11.18, 14.14),
        Array(5, 0, 5, 7.07, 5, 7.07, 11.18, 10, 11.18),
        Array(10, 5, 0, 11.18, 7.07, 5, 14.14, 11.18, 10),
        Array(5, 7.07, 11.18, 0, 5, 10, 5, 7.07, 11.18),
        Array(7.07, 5, 7.07, 5, 0, 5, 7.07, 5, 7.07),
        Array(11.18, 7.07, 5, 10, 5, 0, 11.18, 7.07, 5),
        Array(10, 11.18, 14.14, 5, 7.07, 11.18, 0, 5, 10),
        Array(11.18, 10, 11.18, 7.07, 5, 7.07, 5, 0, 5),
        Array(14.14, 11.18, 10, 11.18, 7.07, 5, 10, 5, 0)
        );
								
								